package com.spark.usermusicService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 音乐信息
 * </p>
 *
 * @author wzk
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Music对象", description="音乐信息")
public class Music implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "歌名")
    private String name;

    @ApiModelProperty(value = "音乐在服务器的地址")
    private String address;

    @ApiModelProperty(value = "歌词在服务器的地址")
    private String lyricAddress;

    @ApiModelProperty(value = "歌手名")
    private String singer;

    @ApiModelProperty(value = "歌曲时长")
    private Integer timeLength;


}
